﻿/// <reference path="_namespace.js" />
/// <reference path="../events/EventArgs.js" />

/*****************************************************************************
MS Ajax library class definition. Inheriting from ajax.BaseObject.
Author: krobinson 10/7/2008 12:32:42 PM.
Class:  ajax.collections.ArrayListEventArgs
*****************************************************************************/

$addNamespace("ajax.collections");
//-----------------------------------------------------------------------------

ajax.collections.ArrayListEventArgs = function(e, source, obj, index)
{
    ajax.collections.ArrayListEventArgs.superConstructor.call(this, e, source);
    this.obj = obj;
    this.index = index;
}
$extend("ajax.collections.ArrayListEventArgs", "ajax.events.EventArgs");
if ($getDesignMode())
    ajax.collections.ArrayListEventArgs.prototype = ajax.events.EventArgs.prototype;
//-----------------------------------------------------------------------------

// Public members
//-----------------------------------------------------------------------------
ajax.collections.ArrayListEventArgs.prototype.obj = null;
ajax.collections.ArrayListEventArgs.prototype.index = -1;


// Public Methods
//-----------------------------------------------------------------------------

// Statics
//-----------------------------------------------------------------------------
ajax.collections.ArrayListEventArgs.cast = function(obj)
{///<returns type="ajax.collections.ArrayListEventArgs"/>
    return obj;
}